Read the next directory in the specified file and make it the current
directory. Applications only need to call _T_I_F_F_R_e_a_d_D_i_r_e_c_t_o_r_y to read
multiple subfiles in a single TIFF file- the first directory in a file is
automatically read when _T_I_F_F_O_p_e_n is called.
NNNNOOOOTTTTEEEESSSS
If the library is compiled with STRIPCHOP_SUPPORT enabled, then images
that have a single uncompressed strip or tile of data are automatically
treated as if they were made up of multiple strips or tiles of
approximately 8 kilobytes each. This operation is done only in-memory;
it does not alter the contents of the file. However, the construction of
the ``chopped strips'' is visible to the application through the number
of strips [tiles] returned by _T_I_F_F_N_u_m_b_e_r_O_f_S_t_r_i_p_s [_T_I_F_F_N_u_m_b_e_r_O_f_T_i_l_e_s].
RRRREEEETTTTUUUURRRRNNNN VVVVAAAALLLLUUUUEEEESSSS
If the next directory was successfully read, 1 is returned. Otherwise, 0
is returned if an error was encountered, or if there are no more
directories to be read.
DDDDIIIIAAAAGGGGNNNNOOOOSSSSTTTTIIIICCCCSSSS
All error messages are directed to the _T_I_F_F_E_r_r_o_r(3T) routine. All
warning messages are directed to the _T_I_F_F_W_a_r_n_i_n_g(3T) routine.
SSSSeeeeeeeekkkk eeeerrrrrrrroooorrrr aaaacccccccceeeessssssssiiiinnnngggg TTTTIIIIFFFFFFFF ddddiiiirrrreeeeccccttttoooorrrryyyy. An error occurred while positioning
to the location of the directory.
WWWWrrrroooonnnngggg ddddaaaattttaaaa ttttyyyyppppeeee %%%%dddd ffffoooorrrr ffffiiiieeeelllldddd """"%%%%ssss"""". The tag entry in the directory had an
incorrect data type. For example, an _I_m_a_g_e_D_e_s_c_r_i_p_t_i_o_n tag with a SHORT
data type.
TTTTIIIIFFFFFFFF ddddiiiirrrreeeeccccttttoooorrrryyyy iiiissss mmmmiiiissssssssiiiinnnngggg rrrreeeeqqqquuuuiiiirrrreeeedddd """"%%%%ssss"""" ffffiiiieeeelllldddd. The specified tag is
required to be present by the TIFF 5.0 specification, but is missing.
The directory is (usually) unusable.
%%%%ssss:::: RRRRaaaattttiiiioooonnnnaaaallll wwwwiiiitttthhhh zzzzeeeerrrroooo ddddeeeennnnoooommmmiiiinnnnaaaattttoooorrrr. A directory tag has a RATIONAL value
CCCCaaaannnnnnnnooootttt hhhhaaaannnnddddlllleeee ddddiiiiffffffffeeeerrrreeeennnntttt ppppeeeerrrr----ssssaaaammmmpppplllleeee vvvvaaaalllluuuueeeessss ffffoooorrrr ffffiiiieeeelllldddd """"%%%%ssss"""". The tag has
_S_a_m_p_l_e_s_P_e_r_P_i_x_e_l values and they are not all the same; e.g.
_B_i_t_s_P_e_r_S_a_m_p_l_e. The library is unable to handle images of this sort.
CCCCoooouuuunnnntttt mmmmiiiissssmmmmaaaattttcccchhhh ffffoooorrrr ffffiiiieeeelllldddd """"%%%%ssss"""";;;; eeeexxxxppppeeeeccccttttiiiinnnngggg %%%%dddd,,,, ggggooootttt %%%%dddd. The count field in
a tag does not agree with the number expected by the library. This
should never happen, so if it does, the library refuses to read the
directory tags are not properly sorted as specified in the TIFF 5.0
specification. This error is not fatal.
IIIIggggnnnnoooorrrriiiinnnngggg uuuunnnnkkkknnnnoooowwwwnnnn ffffiiiieeeelllldddd wwwwiiiitttthhhh ttttaaaagggg %%%%dddd ((((0000xxxx%%%%xxxx)))). An unknown tag was
encountered in the directory; the library ignores all such tags.
TTTTIIIIFFFFFFFF ddddiiiirrrreeeeccccttttoooorrrryyyy iiiissss mmmmiiiissssssssiiiinnnngggg rrrreeeeqqqquuuurrrreeeedddd """"IIIImmmmaaaaggggeeeeLLLLeeeennnnggggtttthhhh"""" ffffiiiieeeelllldddd. The image
violates the specification by not having a necessary field. There is no
way for the library to recover from this error.
TTTTIIIIFFFFFFFF ddddiiiirrrreeeeccccttttoooorrrryyyy iiiissss mmmmiiiissssssssiiiinnnngggg rrrreeeeqqqquuuurrrreeeedddd """"PPPPllllaaaannnnaaaarrrrCCCCoooonnnnffffiiiigggg"""" ffffiiiieeeelllldddd. The image
violates the specification by not having a necessary field. There is no
way for the library to recover from this error.
TTTTIIIIFFFFFFFF ddddiiiirrrreeeeccccttttoooorrrryyyy iiiissss mmmmiiiissssssssiiiinnnngggg rrrreeeeqqqquuuurrrreeeedddd """"SSSSttttrrrriiiippppOOOOffffffffsssseeeettttssss"""" ffffiiiieeeelllldddd. The image has
multiple strips, but is missing the tag that specifies the file offset to
each strip of data. There is no way for the library to recover from this
error.
TTTTIIIIFFFFFFFF ddddiiiirrrreeeeccccttttoooorrrryyyy iiiissss mmmmiiiissssssssiiiinnnngggg rrrreeeeqqqquuuurrrreeeedddd """"TTTTiiiilllleeeeOOOOffffffffsssseeeettttssss"""" ffffiiiieeeelllldddd. The image has
multiple tiles, but is missing the tag that specifies the file offset to
each tile of data. There is no way for the library to recover from this
error.
TTTTIIIIFFFFFFFF ddddiiiirrrreeeeccccttttoooorrrryyyy iiiissss mmmmiiiissssssssiiiinnnngggg rrrreeeeqqqquuuuiiiirrrreeeedddd """"SSSSttttrrrriiiippppBBBByyyytttteeeeCCCCoooouuuunnnnttttssss"""" ffffiiiieeeelllldddd. The image
has multiple strips, but is missing the tag that specifies the size of
each strip of data. There is no way for the library to recover from this